var localhostPath = "http://chewelve.top:4000/";

function getDate(dateData) {
    let date = new Date(dateData);
    let y = date.getFullYear();
    let m = date.getMonth() + 1;
    m = m < 10 ? "0" + m : m;
    let d = date.getDate();
    d = d < 10 ? "0" + d : d;
    var time = y + "-" + m + "-" + d;
    return time;
  }
export default { localhostPath,getDate}